﻿using System;
using System.Collections.Generic;
using System.Text;
using PhiStore.Threading;

namespace PhiStore.Actions.InternalActions
{
    class ExternalNegotiation : PhiInternalPackage
    {
        public NegotiationInit Negotiation;
        public Channel<object> ReplyChannel;

        public ExternalNegotiation(NegotiationInit negotiation, Channel<object> replyChannel)
        {
            this.ReplyChannel = replyChannel;
            this.Negotiation = negotiation;
        }
        public override string ToString()
        {
            return base.ToString() + ":" + Negotiation.Key;
        }
    }
}
